package cn.rkylin.oms.warehouseDocking.dao.qimen;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import cn.rkylin.core.IDataBaseFactory;
import cn.rkylin.oms.warehouseDocking.vo.qimen.InventoryGet;

/**
 * 奇门库存查询数据访问接口实现
 * 
 * @author jipengcheng
 * @created 2017年10月27日
 */
@Repository(value = "iGetInventoryDAO")
public class GetInventoryDAOImpl implements IGetInventoryDAO {

    @Autowired
    protected IDataBaseFactory dao;

    private static final String SelectInfoGetInventoryByPrjId = "selectInfoGetInventoryByPrjId";

    /**
     * 获取奇门需要查询库存的商品信息
     * 
     * @param reqMap
     * @return
     * @throws Exception
     */
    @Override
    public List<InventoryGet> selectInfoGetInventoryByPrjId(Map<String, Object> reqMap) throws Exception {

        List<InventoryGet> rList = dao.findAllList(SelectInfoGetInventoryByPrjId, reqMap);
        return rList;
    }

}
